package com.chuanyang.driverh.responseresult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by eason on 2016/9/6.
 */
public class OrderHistorydata {
    /**
     * data : [{"orderId":122,"orderNo":"LGN20160725141941556601","order_Amount":200,"order_endtime":"2016-08-31 14:16:01.0","order_startime":"2016-08-31 14:16:01.0","order_type":1,"phone":"13961705302","star":4.5,"startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"},{"orderId":121,"orderNo":"LGN20160725141859847600","order_Amount":200,"order_endtime":"2016-08-31 14:15:59.0","order_startime":"2016-08-31 14:15:59.0","order_type":1,"phone":"13961705302","star":4.5,"startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"},{"orderId":120,"orderNo":"LGN20160725141601340600","order_Amount":200,"order_endtime":"2016-08-31 14:15:56.0","order_startime":"2016-08-31 14:15:56.0","order_type":1,"phone":"13961705302","star":4.5,"startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"}]
     * total : 3
     * totalPages : 1
     */

    private int total;
    private int totalPages;
    /**
     * orderId : 122
     * orderNo : LGN20160725141941556601
     * order_Amount : 200
     * order_endtime : 2016-08-31 14:16:01.0
     * order_startime : 2016-08-31 14:16:01.0
     * order_type : 1
     * phone : 13961705302
     * star : 4.5
     * startAddr : 江苏省
     * targetAddr : 上海市
     * userId : 60
     * userImage : 33
     * username : 呵呵
     */

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int orderId;
        private String orderNo;
        private Double order_Amount;
        private String order_endtime;
        private String order_startime;
        private int order_type;
        private String phone;
        private float star;
        private String startAddr;
        private String targetAddr;
        private int userId;
        private String userImage;
        private String assignment;//任务名称
        private String username;
        private RealitySumBean realitySum;
        private String demurrage;//滞期费
        private String stevedoreDay;//装卸期限
        private String loadDate;//受载日期
        private  int transPortWay;//运输类型（1车，2船）
        private  int currency;//订单外贸类型（1人民币，2美元）
        private String currencyType;//订单外贸类型中文
        private String unit;//订单外贸类型符号

        public Integer getFleetId() {
            return fleetId;
        }

        public void setFleetId(Integer fleetId) {
            this.fleetId = fleetId;
        }

        private Integer fleetId;

        public void setStar(float star) {
            this.star = star;
        }

        public float getStar() {
            return star;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }


        public String getOrder_endtime() {
            return order_endtime;
        }

        public void setOrder_endtime(String order_endtime) {
            this.order_endtime = order_endtime;
        }

        public String getOrder_startime() {
            return order_startime;
        }

        public void setOrder_startime(String order_startime) {
            this.order_startime = order_startime;
        }

        public int getOrder_type() {
            return order_type;
        }

        public void setOrder_type(int order_type) {
            this.order_type = order_type;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }




        public String getStartAddr() {
            return startAddr;
        }

        public void setStartAddr(String startAddr) {
            this.startAddr = startAddr;
        }

        public String getTargetAddr() {
            return targetAddr;
        }

        public void setTargetAddr(String targetAddr) {
            this.targetAddr = targetAddr;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserImage() {
            return userImage;
        }

        public void setUserImage(String userImage) {
            this.userImage = userImage;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public Double getOrder_Amount() {
            return order_Amount;
        }

        public void setOrder_Amount(Double order_Amount) {
            this.order_Amount = order_Amount;
        }


        public String getDemurrage() {
            return demurrage;
        }

        public void setDemurrage(String demurrage) {
            this.demurrage = demurrage;
        }

        public String getStevedoreDay() {
            return stevedoreDay;
        }

        public void setStevedoreDay(String stevedoreDay) {
            this.stevedoreDay = stevedoreDay;
        }

        public String getLoadDate() {
            return loadDate;
        }

        public void setLoadDate(String loadDate) {
            this.loadDate = loadDate;
        }

        public int getTransPortWay() {
            return transPortWay;
        }

        public void setTransPortWay(int transPortWay) {
            this.transPortWay = transPortWay;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public String getCurrencyType() {
            return currencyType;
        }

        public void setCurrencyType(String currencyType) {
            this.currencyType = currencyType;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getAssignment() {
            return assignment;
        }

        public void setAssignment(String assignment) {
            this.assignment = assignment;
        }

        public RealitySumBean getRealitySum() {
            return realitySum;
        }

        public void setRealitySum(RealitySumBean realitySum) {
            this.realitySum = realitySum;
        }
    }
    public  static  class  RealitySumBean implements Serializable
    {

        /**
         * realityNum : 0
         * realityWeight : 22.500
         */

        private int realityNum;
        private String realityWeight;

        public int getRealityNum() {
            return realityNum;
        }

        public void setRealityNum(int realityNum) {
            this.realityNum = realityNum;
        }

        public String getRealityWeight() {
            return realityWeight;
        }

        public void setRealityWeight(String realityWeight) {
            this.realityWeight = realityWeight;
        }
    }
}
